package com.sky.tlias.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sky.common.annotation.Excel;
import com.sky.common.core.domain.BaseEntity;

/**
 * 部门对象 dept
 * 
 * @author ruoyi
 * @date 2025-09-02
 */
public class Dept extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID, 主键 */
    @Excel(name = "ID, 主键")
    private String id;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String name;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
